package com.tencreat.domain.mall.dto;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tencreat.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class MallCommentRequDTO {
    private Long goodsId;
    private Long uuid;
    private String orderSn;
    private String goodsName;
    private String phone;
    private Integer star;
    private Integer commentState;
    private Integer type;
    /** 创建时间 */
    @ApiModelProperty("注册时间开始")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private LocalDateTime startTime;

    @ApiModelProperty("注册时间结束")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private LocalDateTime endTime;

    private Integer pageNum;
    private Integer pageSize;

    @ApiModelProperty(value= "评价状态 0-显示 1-隐藏")
    private Integer isHide;

    @ApiModelProperty(value= "供应商名称|店铺名称")
    private String username;

    @ApiModelProperty(value= "后台用户id")
    private Long userId;
}
